//
//  FnScreenVideoAd.h
//  flutter_fn_sdk
//
//  Created by xiaomin huang on 2022/8/3.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface FnScreenVideoAd : NSObject

//错误
@property (copy, nonatomic) void(^onError)(NSError *error);
//关闭
@property (copy, nonatomic) void(^onClosed)(void);
//展示
@property (copy, nonatomic) void(^onShow)(void);
//点击
@property (copy, nonatomic) void(^onClicked)(void);

/// 加载加载全屏插屏广告
/// @param appId appid
/// @param adsId 广告位id
/// @param release 是否测试环境
+(instancetype)loadAdWithAppId:(NSString *)appId adsId:(NSString *)adsId isRelease:(BOOL)release;

/// 关闭全屏插屏广告
-(void)closeScreenVideoAd;

@end

NS_ASSUME_NONNULL_END
